package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 计算费用日志记录对象 tb_compute_pay_fee_log
 *
 * @author yajun_ren
 * @date 2022-08-04
 */
@Data
public class ComputePayFeeLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 小区ID
     */
    @Excel(name = "小区ID")
    private String communityId;

    /**
     * 楼栋ID
     */
    @Excel(name = "楼栋ID")
    private String floorId;

    /**
     * 单元ID
     */
    @Excel(name = "单元ID")
    private String unitId;

    /**
     * 房屋ID
     */
    @Excel(name = "房屋ID")
    private String roomId;

    /**
     * 房屋名称
     */
    @Excel(name = "房屋名称")
    private String roomName;

    /**
     * 收费项目
     */
    @Excel(name = "收费项目")
    private String chargeId;

    /**
     * 收费标准
     */
    @Excel(name = "收费标准")
    private String normId;

    /**
     * 计费截至日期
     */
    @Excel(name = "计费截至日期")
    private String paymentCycle;

    /**
     * 费用单条数
     */
    @Excel(name = "费用单条数")
    private Integer feeNum;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    private String communityName;

    private String floorName;

    private String unitName;

    private String roomNum;

    private String normNames;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("communityId", getCommunityId())
                .append("floorId", getFloorId())
                .append("unitId", getUnitId())
                .append("roomId", getRoomId())
                .append("roomName", getRoomName())
                .append("chargeId", getChargeId())
                .append("normId", getNormId())
                .append("paymentCycle", getPaymentCycle())
                .append("feeNum", getFeeNum())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
